package com.scf.loanmanage.dao;

import com.scf.loanmanage.entity.LoanLevelFive;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoanLevelFiveMapper {

    //分页查所有药
    List<LoanLevelFive> selectAll(@Param("pageIndex") Integer pageIndex,
                                  @Param("pageSize")  Integer pageSize);
    //查询总条数
    Integer selectcount();

    //查询企业或ID
    List<LoanLevelFive> selectByname(@Param("enterprisename")String enterprisename, @Param("code")String code);

    void insertFive(LoanLevelFive loanLevelFive);

    List<LoanLevelFive> selectAlls();
}
